<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="./013some.js"></script>
    <script>
        let arr = [1, 3, 5, 7,8]
        let result = some(arr, (item, index) => item % 2 === 0)  //这里的some是我们自己定义的
        console.log(result);
        console.log(arr.some((item,index)=>item%2===0));  //some是已经封装好了的
    </script>
</body>

</html>